import service from "@/utils/request";

export function user_register(payload = {}) {
  return service.post('/api/user/register', payload)
}
export function user_login(payload = {}) {
  return service.post('/api/user/login', payload)
}
export function shop_list(payload = {}) {
  return service.get('/api/shop/list', { params: payload })
}
export function tuan_list(payload = {status:0}) {
  return service.get('/api/tuan/list', { params: payload })
}
export function shop_shopinfo(payload = {}) {
  return service.get('/api/shop/shopinfo', { params: payload })
}
export function shop_search(payload = {}) {
  return service.get('/api/shop/search', { params: payload })
}
export function banner_list(payload = {}) {
  return service.get('/api/banner/list', { params: payload })
}